package com.clkj.xiuzheng.pojo.shangcheng;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Column;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.io.Serializable;

/**
 * @author lipeiyi
 * 2024-5-15
 */
@ApiModel( value ="t_xz_productCompany" )
@Table( name ="t_xz_productCompany" )
public class ProductCompany  implements Serializable {


	/**
	 * 商城 公司id
	 */
   	@Column(name = "company_id" )
	@ApiModelProperty( value="商城 公司id")
	private Integer companyId;

	/**
	 * 公司名称
	 */
   	@Column(name = "company_name" )
	@ApiModelProperty( value="公司名称")
	private String companyName;

	/**
	 * 公司状态
	 */
   	@Column(name = "company_status" )
	@ApiModelProperty( value="公司状态")
	private Integer companyStatus;

	/**
	 * 公司账号
	 */
   	@Column(name = "company_count" )
	@ApiModelProperty( value="公司账号")
	private String companyCount;

	/**
	 * 公司密码
	 */
   	@Column(name = "company_password" )
	@ApiModelProperty( value="公司密码")
	private String companyPassword;
    /**
     * 入驻时间
     */
    @Column(name = "create_time" )
    @ApiModelProperty( value="入驻时间")
    private String createTime;
    /**
     * 推广公司的主公司
     */
    @Column(name = "parent_id" )
    @ApiModelProperty( value="公司账号")
    private Integer parentId;

    @Transient
    private Integer userNum;

    @Transient
    private Integer codeNum;

    @Transient
    private Double totalMoney;

    @Transient
    private Double totalGrant;

    @Transient
    private Double remainGrant;


    public Integer getUserNum() {
        return userNum;
    }

    public void setUserNum(Integer userNum) {
        this.userNum = userNum;
    }

    public Integer getCodeNum() {
        return codeNum;
    }

    public void setCodeNum(Integer codeNum) {
        this.codeNum = codeNum;
    }

    public Integer getCompanyId() {
    return companyId;
  }

  public void setCompanyId(Integer companyId) {
    this.companyId = companyId;
  }


  public String getCompanyName() {
    return companyName;
  }

  public void setCompanyName(String companyName) {
    this.companyName = companyName;
  }





  public String getCompanyCount() {
    return companyCount;
  }

  public void setCompanyCount(String companyCount) {
    this.companyCount = companyCount;
  }


  public String getCompanyPassword() {
    return companyPassword;
  }

  public void setCompanyPassword(String companyPassword) {
    this.companyPassword = companyPassword;
  }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public Integer getCompanyStatus() {
        return companyStatus;
    }

    public void setCompanyStatus(Integer companyStatus) {
        this.companyStatus = companyStatus;
    }

    public Double getTotalMoney() {
        return totalMoney;
    }

    public void setTotalMoney(Double totalMoney) {
        this.totalMoney = totalMoney;
    }

    public Double getTotalGrant() {
        return totalGrant;
    }

    public void setTotalGrant(Double totalGrant) {
        this.totalGrant = totalGrant;
    }

    public Double getRemainGrant() {
        return remainGrant;
    }

    public void setRemainGrant(Double remainGrant) {
        this.remainGrant = remainGrant;
    }
}
